html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

$ff: 'Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif';
body {
  font-family: $ff;
  overflow: auto;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

textarea {
  font-family: $ff;
}

* {
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar-thumb {
  background-color: #EBEEF5;
}

/*---滚动条大小--*/
::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

/*---滚动框背景样式--*/
::-webkit-scrollbar-track-piece {
  background-color: #EBEEF5;
}

.scrollbar::-webkit-scrollbar {
  width: 3px;
}

.scrollbar::-webkit-scrollbar-track, .scrollbar::-webkit-scrollbar-track-piece {
  background-color: #fff
}

.scrollbar::-webkit-scrollbar-thumb {
  background-color: #d4d8e2;
}

.scrollbar::-webkit-scrollbar-button {
  background-color: #fff;
  display: none
}

/*头部主体样式*/
.header {
  background: #324157;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 11;
  .logo {
    display: inline-block;
    float: left;
    width: 280px;
    height: 60px;
    line-height: 60px;
    font-size: 21px;
    font-family: 黑体;
    color: #fff;
    cursor: pointer;
    padding-left: 20px;
    i {
      font-size: 24px;
    }
  }
  .headerMenu {
    height: 60px;
    display: flex;
    justify-content: flex-end;
  }
  .setting {
    display: flex;
    justify-content: flex-start;
    .item {
      display: flex;
      align-items: center;
      height: 60px;
      overflow: hidden;
      padding: 0 20px 0 20px;
      cursor: pointer;
      transition: background .3s;
      font-size: 14px;
      color: #fff;
      &:hover {
        background: #48576a;
      }
      .iconfont {
        margin-right: 5px;
      }
      .el-dropdown {
        height: 100%;
        display: flex;
      }
      .mine {
        color: #fff;
        display: flex;
        align-items: center;
      }
    }
  }
}

.content {
  width: 100%;
  height: 100%;
  padding-top: 60px;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  z-index: 2;
  display: flex;
  .menu {
    width: 250px;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    border-right: 1px solid #d1dbe5;
    overflow-y: hidden;
    &:hover {
      overflow-y: auto;
    }
    .opt {
      display: flex;
      justify-content: flex-end;
      padding: 10px 0;
    }
    .el-tree-node__content {
      height: 34px !important;
    }
  }
  .detial {
    height: 100%;
    flex: 1;
    padding: 20px 30px;
    box-sizing: border-box;
    background: #fff;
    overflow-y: hidden;
    &:hover {
      overflow-y: auto;
    }
  }
  .reqParams, .reqHeader {
    position: relative;
    .addParams {
      padding-top: 15px;
      display: flex;
      justify-content: flex-end
    }
    .el-switch {
      height: initial;
    }
    .el-input__inner {
      border: 1px solid transparent;
      background: transparent;
      &:hover {
        border-color: #8391a5;
        background: #fff;
      }
    }
    .el-textarea__inner {
      border: 1px solid transparent;
      background: transparent;
      &:hover {
        border-color: #8391a5;
        background: #fff;
      }
    }
  }
}

